{include file="pageheader.htm"}
<div class="list-div">
<table width="100%" border="0" cellspacing="1" cellpadding="3">
  <tr>
    <th scope="col">ID</th>
    <th scope="col">标题</th>
    <th scope="col">图片</th>
    <th scope="col">排序</th>
    <th scope="col">操作</th>
  </tr>
  {foreach from=$list item=li}
  <tr>
    <td>{$li.id}</td>
    <td><a href="{$li.link}" target="_blank">{$li.title}</a></td>
    <td><a href="{$li.pic}" target="_blank"><img src="images/icon_view.gif" align="absmiddle" border="0" /></a></td>
    <td>{$li.sort_order}</td>
    <td>
    <a href="flashplay.php?act=edit&id={$li.id}"><img src="images/icon_edit.gif" align="absmiddle" border="0" /></a>&nbsp;
    <a href="flashplay.php?act=delete&id={$li.id}" onclick="if(!confirm('确定要删除吗？')){ return false; }"><img src="images/icon_drop.gif" align="absmiddle" border="0" /></a>
    </td>
  </tr>
  {foreachelse}
  <tr><td colspan="5">暂无图片！</td></tr>
  {/foreach}
</table>

</div>
{include file="pagefooter.htm"}